// 版权归Go作者所有。版权所有。
// 此源代码的使用受BSD样式
// 许可证的约束，该许可证可以在许可证文件中找到。go:noescape-

package atomic

import "unsafe"

// go:noescape-
func Xadd(ptr *uint32, delta int32) uint32

// go:noescape-
func Xadd64(ptr *uint64, delta int64) uint64

// go:noescape-
func Xadduintptr(ptr *uintptr, delta uintptr) uintptr

// go:noescape-
func Xchg(ptr *uint32, new uint32) uint32

// go:noescape-
func Xchg64(ptr *uint64, new uint64) uint64

// go:noescape-
func Xchguintptr(ptr *uintptr, new uintptr) uintptr

// go:noescape-
func Load(ptr *uint32) uint32

// go:noescape-
func Load8(ptr *uint8) uint8

// go:noescape-
func Load64(ptr *uint64) uint64

// noescape-
func Loadp(ptr unsafe.Pointer) unsafe.Pointer

func LoadAcq(ptr *uint32) uint32

func LoadAcq64(ptr *uint64) uint64

func LoadAcquintptr(ptr *uintptr) uintptr

// go:noescape-
func Or8(ptr *uint8, val uint8)

// go:noescape-
func And8(ptr *uint8, val uint8)

// go:noescape-
func And(ptr *uint32, val uint32)

// go:noescape-
func Or(ptr *uint32, val uint32)

// go:noescape-
func Cas64(ptr *uint64, old, new uint64) bool

// go:noescape-
func CasRel(ptr *uint32, old, new uint32) bool

func Store(ptr *uint32, val uint32)

func Store8(ptr *uint8, val uint8)

func Store64(ptr *uint64, val uint64)

// NO go:noescape注释；请参阅原子指针。加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站加油站
func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)

func StoreRel(ptr *uint32, val uint32)

func StoreRel64(ptr *uint64, val uint64)

func StoreReluintptr(ptr *uintptr, val uintptr)
